﻿<%@ Page Language="C#" MasterPageFile="~/User/MasterPage_KhachHang.master" AutoEventWireup="true" CodeFile="SanPhamTheoLoai.aspx.cs" Inherits="User_SanPhamTheoLoai" Title="Untitled Page" %>
 <%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

 
<asp:Content ID="Content1" ContentPlaceHolderID="content_1" Runat="Server">
    <div style=" text-align: center">
        <asp:Repeater ID="Repeater2" runat="server" OnItemDataBound="Repeater2_ItemDataBound">
            <ItemTemplate>
                <table style="width: 100%;">
                    <tr>
                        <td >
                            MÃ SP:
                            <asp:Literal ID="lit_idsp" runat="server"></asp:Literal>
                            <br />
                            <asp:Image ID="img_hinhanh" Height="150px" Width="100px" runat="server" />
                            <br /><a href="SanPhamTheoLoai.aspx?id=<%#Eval("MaSP") %>">
                            <asp:HyperLink ID="hyp_sp" runat="server"></asp:HyperLink>
                            <br />
                            Giá gốc:
                            <%#Eval("GiaGoc") %>
                            VNĐ
                            <br />
                            Giá chỉ còn:
                            <%#Eval("GiaBan") %>
                            VNĐ
                            <br />
                            <asp:Literal ID="lit_mota" runat="server"></asp:Literal><br />
                            <asp:HyperLink ID="btct" runat="server" Text="Xem"   ForeColor="DarkGreen"  Font-Size="15" /><br /><br />
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div style="text-align: right;">                
   <cc1:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" />
   </div>
</asp:Content>

